package com.tcs.test.zk.discovery;

import java.util.List;

/**
 * 自定义属性
 * @author wangBo
 */
public class ServiceInfo {
	
	private String serviceName;
	
	private String ip;
	
	private List<String> methods;

	public ServiceInfo() {}

	public ServiceInfo(String serviceName, String ip , List<String> methods) {
		this.serviceName = serviceName;
		this.ip = ip;
		this.methods = methods;
	}
	
	public ServiceInfo(String serviceName) {
		this.serviceName = serviceName;
	}

	public String getServiceName() {
		return serviceName;
	}

	public void setServiceName(String serviceName) {
		this.serviceName = serviceName;
	}

	public List<String> getMethods() {
		return methods;
	}

	public void setMethods(List<String> methods) {
		this.methods = methods;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}
}